#ifndef PIEFRAME_H
#define PIEFRAME_H
#include <QFrame>
#include <QWidget>
#include <QHBoxLayout>
#include <QMap>
#include "pie.h"
#include "pieobj.h"
#include<QLabel>
#include<QList>
typedef class Pie PieWidget;
class PieFrame : public QWidget
{
    Q_OBJECT
public:
    explicit PieFrame(QWidget *parent = 0);
    void setPieNum(QList<PieObj> m_number);
private:
    QFrame *pietitle_frame;
    QHBoxLayout *horizontalLayout_16;
    QFrame *piealert_frame;
    QGridLayout *gridLayout_7;
    QMap<QString, int> m_number;
    PieWidget *pieWidget;
    void init();
    QList<QLabel *> labels;
    int total;
signals:

public slots:

};

#endif // PIEFRAME_H
